package com.zxjbyte.yiyi.module.system.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zxjbyte.yiyi.framework.mybatis.base.BasePO;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @Author zhangxingjia
 * @Date 2024/1/24 16:07
 * @Version: 1.0
 */
@Data
@Accessors(chain = false)
@TableName("sys_dict")
public class DictPO extends BasePO {

    private static final long serialVersionUID = -4936269260053660567L;

    // 自增主键
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    // 字典类型：0-系统字典，1-业务字典
    @TableField("type")
    private Integer type;

    // 字典code
    @TableField("dict_code")
    private String dictCode;

    // 字典名称
    @TableField("dict_name")
    private String dictName;

    // 备注
    @TableField("remark")
    private String remark;
}
